import * as _ from 'lodash';

// prettier-ignore
export default {
  NODE_ENV: process.env.NODE_ENV || 'development',
  SERVER: {
    PORT:      +(process.env.SERVER_PORT || '4000'),
    JWT_SECRET:  process.env.SERVER_JWT_SECRET || 'jwt-secret',
    STATIC_PATH: process.env.SERVER_STATIC_PATH || __dirname + '/public',
  },
  MYSQL: {
    MAIN: {
      HOST:     process.env.MYSQL_MAIN_HOST || 'localhost',
      PORT:   +(process.env.MYSQL_MAIN_PORT || '3306'),
      USERNAME: process.env.MYSQL_MAIN_USERNAME || 'scott',
      PASSWORD: process.env.MYSQL_MAIN_PASSWORD || 'tiger',
      DATABASE: process.env.MYSQL_MAIN_DATABASE || 'cecelia',
    },
  },
};
